package com.ssyc.gsk_teacher.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 班级的数据模型
 * Created by Administrator on 2018/6/25 0025.
 */

public class ClassInfo implements Serializable {

    /**
     * list : [{"c":"13035149939","records":"0","icon":1,"name":"娴嬭瘯1鐝�","id":71,"classnum":"1","studentnum":4},{"c":"13035149939","records":"0","icon":2,"name":"寮\u20ac鍙�","id":72,"classnum":"2","studentnum":1},{"c":"13035149939","records":"0","icon":3,"name":"寮\u20ac鍙戠彮寮\u20ac鍙戠彮娴峰彛","id":73,"classnum":"3","studentnum":1},{"c":"13035149939","records":"0","icon":4,"name":"6.22娴嬭瘯","id":74,"classnum":"4","studentnum":0},{"c":"13035149939","records":"0","icon":5,"name":"JPXB5","id":75,"classnum":"5","studentnum":0},{"c":"13035149939","records":"0","icon":6,"name":"JPXB6","id":76,"classnum":"6","studentnum":0},{"c":"13035149939","records":"0","icon":7,"name":"JPXB7","id":77,"classnum":"7","studentnum":0},{"c":"13035149939","records":"0","icon":8,"name":"JPXB8","id":78,"classnum":"8","studentnum":0},{"c":"13035149939","records":"0","icon":9,"name":"JPXB9","id":79,"classnum":"9","studentnum":0},{"c":"13035149939","records":"0","icon":10,"name":"JPXB10","id":80,"classnum":"10","studentnum":0}]
     * status : 1
     */

    private String status;
    private List<ListBean> list;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Serializable {
        /**
         * c : 13035149939
         * records : 0
         * icon : 1
         * name : 娴嬭瘯1鐝�
         * id : 71
         * classnum : 1
         * studentnum : 4
         */

        private String c;
        private String records;
        private int icon;
        private String name;
        private int id;
        private String classnum;
        private int studentnum;
        private boolean isSelected;//是否被选中的标记,默认进入时候第一个班级被选中


        public boolean isSelected() {
            return isSelected;
        }

        public void setSelected(boolean selected) {
            isSelected = selected;
        }

        public String getC() {
            return c;
        }

        public void setC(String c) {
            this.c = c;
        }

        public String getRecords() {
            return records;
        }

        public void setRecords(String records) {
            this.records = records;
        }

        public int getIcon() {
            return icon;
        }

        public void setIcon(int icon) {
            this.icon = icon;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getClassnum() {
            return classnum;
        }

        public void setClassnum(String classnum) {
            this.classnum = classnum;
        }

        public int getStudentnum() {
            return studentnum;
        }

        public void setStudentnum(int studentnum) {
            this.studentnum = studentnum;
        }
    }
}
